import request from '@/utils/request'

// 查询KOL收录列表
export function listKolInclusion(query) {
  return request({
    url: '/kolInclusion/list',
    method: 'get',
    params: query
  })
}

// 查询KOL收录详细
export function getKolInclusion(id) {
  return request({
    url: '/kolInclusion/' + id,
    method: 'get'
  })
}

// 新增KOL收录
export function addKolInclusion(data) {
  return request({
    url: '/kolInclusion',
    method: 'post',
    data: data
  })
}

// 修改KOL收录
export function updateKolInclusion(data) {
  return request({
    url: '/kolInclusion',
    method: 'put',
    data: data
  })
}
export function getExamineStatus(projectId) {
  return request({
    url: '/inclusionExamine/getExamineStatus/' + projectId,
    method: 'get'

  })
}
// 删除KOL收录
export function delKolInclusion(id) {
  return request({
    url: '/kolInclusion/' + id,
    method: 'delete'
  })
}
